{% extends 'link.html' %}
{% block title %}归档{% endblock %}
{% block link_title %}归档{% endblock %}
{% block base_content %}
    <div class="col-content">
        {% regroup articles by get_year as year_article_group %}
        {% for year in year_article_group %}
            <div class="post-archives-list">
                <h3>{{ year.grouper }}年<sup>「 {{ year.list|length }} 」</sup></h3>
                <ul>
                    {% for item in year.list %}
                        <li>
                            <a href="{{ item.get_absolute_url }}" class="">{{ item.title }}</a>
                            <span class="time mo-text-hint">({{ item.update_time|date:'b d Y'}})</span>
                        </li>
                    {% endfor %}
                </ul>
            </div>
        {% endfor %}
    </div>
{% endblock %}